/*
 Navicat Premium Data Transfer

 Source Server         : mysqldocker
 Source Server Type    : MySQL
 Source Server Version : 80021
 Source Host           : localhost:3306
 Source Schema         : test

 Target Server Type    : MySQL
 Target Server Version : 80021
 File Encoding         : 65001

 Date: 02/12/2020 10:15:23
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for city
-- ----------------------------
DROP TABLE IF EXISTS `city`;
CREATE TABLE `city` (
  `id` bigint NOT NULL,
  `province_id` bigint DEFAULT NULL,
  `city_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `description` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of city
-- ----------------------------
BEGIN;
INSERT INTO `city` VALUES (1, 2, '盐城', '江苏');
INSERT INTO `city` VALUES (2, 2, '南通', '江苏');
INSERT INTO `city` VALUES (3, 2, '南京', '江苏');
INSERT INTO `city` VALUES (4, 2, '苏州', '江苏');
INSERT INTO `city` VALUES (5, 2, '泰州', '江苏');
INSERT INTO `city` VALUES (6, 2, '淮安', '江苏');
COMMIT;

-- ----------------------------
-- Table structure for city_copy1
-- ----------------------------
DROP TABLE IF EXISTS `city_copy1`;
CREATE TABLE `city_copy1` (
  `id` bigint NOT NULL,
  `province_id` bigint DEFAULT NULL,
  `city_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `description` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of city_copy1
-- ----------------------------
BEGIN;
INSERT INTO `city_copy1` VALUES (1, 2, '盐城', '江苏');
INSERT INTO `city_copy1` VALUES (2, 2, '南通', '江苏');
INSERT INTO `city_copy1` VALUES (3, 2, '南京', '江苏');
INSERT INTO `city_copy1` VALUES (4, 2, '苏州', '江苏');
INSERT INTO `city_copy1` VALUES (5, 2, '泰州', '江苏');
INSERT INTO `city_copy1` VALUES (6, 2, '淮安', '江苏');
COMMIT;

-- ----------------------------
-- Table structure for test1
-- ----------------------------
DROP TABLE IF EXISTS `test1`;
CREATE TABLE `test1` (
  `id` int NOT NULL,
  `province_id` int DEFAULT NULL,
  `city_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '''',
  `description` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of test1
-- ----------------------------
BEGIN;
INSERT INTO `test1` VALUES (1, 2, '\'', '江苏');
COMMIT;

-- ----------------------------
-- Table structure for test2
-- ----------------------------
DROP TABLE IF EXISTS `test2`;
CREATE TABLE `test2` (
  `id` int NOT NULL,
  `province_id` int DEFAULT NULL,
  `city_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '''',
  `description` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of test2
-- ----------------------------
BEGIN;
INSERT INTO `test2` VALUES (1, 2, '\'', '江苏');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
